from django.shortcuts import render
from django.views.generic.base import View


class ErrorPage404View(View):
    def get(self, request):
        return render(request, '404.html')


class ErrorPage500View(View):
    def get(self, request):
        return render(request, '500.html')